the joy of computing using python week 6 programming answers